<template>
	<view class="container">
		<image class="image" :src="imageUrl" mode="widthFix"></image>
	</view>
</template>

<script setup>
import { ref } from 'vue';
import {onLoad,onUnload,onReachBottom,onShareAppMessage,onShareTimeline} from "@dcloudio/uni-app";
const imageUrl = ref(''); // 替换为您的图片路径
onLoad((e)=>{	
	if (e.type === "facere"){
		imageUrl.value = "https://aitestgo-bj.oss-cn-beijing.aliyuncs.com/docker/alg/uniapp/ui2/videos/facere_demo_ratated.gif"
	}
	if (e.type === "tracker"){
		imageUrl.value = "https://aitestgo-bj.oss-cn-beijing.aliyuncs.com/docker/alg/uniapp/ui2/videos/tracker_demo_rotated.gif"
	}
}
)
</script>

<style>
.container {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100vw;
  height: 100vh;
  background-color: black;
}

.image {
	width: 100%;
}
</style>